solve the literal equation